//
//  UIImage+Category.m
//  iOS-Interview
//
//  Created by Gechanghang on 2018/5/15.
//  Copyright © 2018年 CHANG HANG GE. All rights reserved.
//

#import "UIImage+Category.h"
#import <objc/runtime.h>
static const void *debugNameKey = &debugNameKey;
@implementation UIImage (Category)
- (NSString *)debugName {
    return objc_getAssociatedObject(self, debugNameKey);
}

- (void)setDebugName:(NSString *)debugName {
    objc_setAssociatedObject(self, debugNameKey, debugName, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
@end
